<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2016/11/8
  Time: 10:59
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>SpringMVC 添加数据</title>

    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <![endif]-->
</head>
<body>
<div class="container">
    <h1>SpringMVC 添加数据</h1>
    <hr/>
    <form:form action="/ConfigurationProvider/addData/addD" method="post" commandName="data" role="form">
        <div class="form-group">
            <label for="dataID">data ID</label>
            <input type="text" class="form-control" id="dataID" name="dataID" placeholder="Enter dataID:"/>
        </div>
        <div class="form-group">
            <label for="dataName">data Name:</label>
            <input type="text" class="form-control" id="dataName" name="dataName" placeholder="Enter dataName:"/>
        </div>
        <div class="form-group">
            <label for="dataPid">data Pid:</label>
            <input type="text" class="form-control" id="dataPid" name="dataPid" placeholder="Enter dataPid:"/>
        </div>
        <div class="form-group">
            <label for="dataType">data Type:</label>
            <input type="text" class="form-control" id="dataType" name="dataType" placeholder="Enter dataType:"/>
        </div>
        <div class="form-group">
            <button type="submit" class="btn btn-sm btn-success">提交</button>
        </div>
    </form:form>
</div>
</body>
</html>

